<template>
    <div>
        <div class="box">
            <div class="left">
                <div class="logo">
                    <span class="logoName">yotpo.</span>
                    <span class="film">进思教育有限责任公司</span>
                </div>
                <div class="search">
                    <div class="searchBox">
                        <input type="text">
                        <span class="searIcon iconfont icon-sousuo"></span>
                    </div>
                    <span>下午好</span>
                </div>
            </div>
            <div class="rig">
                <div class="fun">
                    <i class="messIcon iconfont icon-xinxi"></i>
                    <i class="manageIcon iconfont icon-shezhi"></i>
                    <div class="headImg">
                        <img src="https://tse2-mm.cn.bing.net/th/id/OIP-C.DalaLMjSBShA30OvClqN0wAAAA?rs=1&pid=ImgDetMain" alt="">
                    </div>
                </div>
            </div>
        </div>
    </div>
</template>
<style lang="scss">
.box{
    display: flex;
    justify-content: space-between;
    .left{
        width: 50%;
        display: flex;
       .logo{
            font-weight: bold;
            .logoName{
                padding: 4px 5px;
                border-radius: 5px;
                background: #2567FF;
            }
            .film{
                font-size: 14px;
                margin-left: 5px;
            }
        }
        .search{
            margin-left: 83px;
            height: 60px;
            display: flex;
            align-items: center;
            span{
                font-size: 12px;
                padding-left: 26px;
            }
            .searchBox{
                width: 220px;
                border: 1px solid #fff;
                height: 25px;
                border-radius: 5px;
                display: flex;
                background: rgba(255,255,255,0.3);
                padding: 5px 10px;
                box-sizing: border-box;
                justify-content: space-between;
                input{
                    background: transparent;
                    outline: none;
                    border: none;
                }
                .searIcon{
                    line-height: 15px;
                    font-weight: bold;
                    border-left: 2px solid rgb(255,255,255);
                    padding-left: 5px;
                }
            }
        } 
    }
    .rig{
        .fun{
            display: flex;
            height: 100%;
            align-items: center;
            .manageIcon{
                font-weight: bold;
                margin-left: 33px;
            }
            .headImg{
                width: 30px;
                height: 30px;
                border-radius: 50%;
                margin-left: 33px;
                margin-bottom: 8px;
                img{
                    width: 100%;
                    height: 100%;
                    border-radius: 50%;
                    border: 1px solid #fff;
                }
            }
        }
    }
}
</style>